Solving Word Problems using systems of linear equations